package mk.jug.cloud.cms.model;

import javax.persistence.*;

/**
 * Created by IntelliJ IDEA.
 * User: Ice.Penov
 * Date: 6/8/11
 * Time: 12:00 PM
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class Article extends BaseEntity {

    @Column(nullable = false)
    private String title;

    @Column(nullable = false)
    private String contents;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

}